import type { FC } from "react"

interface TextProps {
  copyable?:boolean| {text:string, onCopy:Function}
  delete?:boolean
  editable?:boolean|{editing:boolean, onStart:Function, onChange?(text:string):void}
  ellipsis?:boolean
  mark?:boolean
  underline?:boolean
  strong?:boolean
  type?:'secondary'|'danger'|'warning'
}

interface TitleProps extends TextProps {
  level?:1|2|3|4
}

interface ParagraphProps extends TextProps {}

interface TypographyExtraProp {
  Text:FC<TextProps>
  Title:FC<TitleProps>
  Paragraph:FC<ParagraphProps>
}

const Typography:FC & TypographyExtraProp = props=>null

Typography.Text = props=>null
Typography.Title = props=>null
Typography.Paragraph = props=>null

export default Typography
